package com.koron.device.zsjRemote.service;

import com.koron.bean.base.Response;
import com.koron.device.bean.Equipment;
import com.koron.device.zsjRemote.bean.CollaborationRecord;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

public interface ZsjRemoteService {

	Equipment getAttachmentById(SessionFactory factory, Equipment equipmentWithKks,String languageType);

	Response<List<Equipment>> queryByNameAndKKS(SessionFactory factory,Equipment equipment);

	String getTypeByKKS(SessionFactory factory,String encode);

	Response<List<CollaborationRecord>> queryCollaborationRecord(SessionFactory factory);

	Response startCollaboration(SessionFactory factory, CollaborationRecord record);

	int sendPhoneMessage(String phone, String messageContent);

	Equipment getEqipmentById(SessionFactory factory, String id, String encode,String languageType);
}
